// 确保在js文件中调用pinia的时候，vue已经安装了pinia
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import { createPinia } from 'pinia'
import App from '@/App.vue'
import { createApp } from 'vue'
const store = createPinia().use(piniaPluginPersistedstate)
createApp(App).use(store)
export default store

